<template>
  <div id="app">
    <div style="margin-bottom: 50px">
      <router-view />
    </div>
    <div class="tabbar">
      <router-link to="/">首页<i class="iconfont icon-gengduo"></i></router-link>
      <router-link to="/moments">朋友圈<i class="iconfont icon-gengduo"></i></router-link>
    </div>
  </div>
</template>

<script>
export default {
  name: "App",
};
</script>

<style>
#app {
  box-sizing: border-box;
}
a{
    color: white;
  }
  .router-link-exact-active{
    color: red;
  }
.tabbar{
  height: 50px;
  position: fixed;
  bottom: 0;
  text-decoration: none !important;
  left: 0;
  width: 100%;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
</style>
